using SqlSugar;

namespace Bean.Entity;

/// <summary>
/// 政策规则计划
/// </summary>
[SugarTable("policy_sysrule")]
public class PolicyRulePlan
{
    /// <summary>
    /// 
    /// </summary>
    [SugarColumn (IsPrimaryKey = true,ColumnName = "SysPolicyRuleId")]
    public long SysPolicyRuleId { get; set; }


    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(ColumnName = "PolicyKeyWord")]
    public string PolicyKeyWord { get; set; }
    
    /// <summary>
    /// 关键字
    /// </summary>
    [SugarColumn(ColumnName = "PolicyKeyWord")]
    public long SID { get; set; }

    /// <summary>
    /// 规则文本
    /// </summary>
    [SugarColumn(ColumnName = "RuleText")]
    public string RuleText { get; set; }


    /// <summary>
    /// 有效展位
    /// </summary>
    public string ActiveExhibit { get; set; }

    /// <summary>
    /// 更新频率
    /// </summary>
    public int UpdateFrequency { get; set; }

    /// <summary>
    /// 上次更新时间
    /// </summary>
    public DateTime LastUpdateTime { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime UpdateTime { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    public long UpdateUser { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    public long CreateUser { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    public DateTime CreateTime { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public int Status { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public int IsActive { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    public string SysRuleName { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    public string ApplicableStartTime { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public string ApplicableEndTime { get; set; }

    /// <summary>
    /// 政策类型
    /// </summary>
    public int PolicyType { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public string FlightFareType { get; set; }


    /// <summary>
    /// 
    /// </summary>
    public string AirLineWhites { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public string SaleTimes { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public DateTime TravelStartDate { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public DateTime TravelEndDate { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public string AirLineBlacks { get; set; }


    /// <summary>
    /// 
    /// </summary>
    public string FlightWhites { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public string FlightBlacks { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public DateTime SaleStartDate { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    public DateTime SaleEndDate { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public DateTime LastExecuteTime { get; set; }


    /// <summary>
    /// 
    /// </summary>
    public string ChangeTimeSpan { get; set; }
}